var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.getPlayer().scheduleWarpTask(30 * 60, 993123000, 0, false);
            cm.gloryEventUIUpdate(8, 2, 1800000, 0, 1800000, 100354);
            cm.addPopupSay(9062210, 4000, "请通过魔法地图确认战场上的情况，保护骑士们的安全。", "", 0);
            cm.dispose()
        }
    }
};